﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using WSIMServices.model;
using System.Data;

namespace WSIMServices
{
    // NOTE: If you change the interface name "IWSIMProfileOperations" here, you must also update the reference to "IWSIMProfileOperations" in Web.config.
    [ServiceContract(Namespace = "http://www.ocdstudio.net/WSIM")]
    public interface IWSIMProfileOperations
    {
        [OperationContract]
        string RegisterUser(RegisterInfo info);

        

        #region Profile Management
        
        [OperationContract]
        string AddProfile(Profile profile);

        [OperationContract]
        string DeleteProfile(Profile profile);

        [OperationContract]
        List<Profile> GetProfiles();

        [OperationContract]
        List<Provider> GetProviders();     

        #endregion


        #region Contacs Management

        [OperationContract]
        UserList GenerateUserList();

        [OperationContract]
        DataSet UsersByCriteria(Criteria c);

        [OperationContract]
        string AddContact(long idContact,string group);

        [OperationContract]
        string DeleteContact(long idContact);

        #endregion
    }

    


    

}
